/**
* Plugin Name: All-in-One WP Migration
* Plugin URI: https://servmask.com/
* Description: All-in-One WP Migration makes moving your entire WordPress site simple. Export or import your database, media, plugins, and themes with just a few clicks.
* Author: ServMask
* Author URI: https://servmask.com/
* Version: 7.90
* Text Domain: all-in-one-wp-migration
* Domain Path: /languages
* Network: True
* License: GPLv3
*
* Copyright (C) 2014-2025 ServMask Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
* Attribution: This code is part of the All-in-One WP Migration plugin, developed by
*
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
*/
if ( ! defined( 'ABSPATH' ) ) {
die( 'Kangaroos cannot jump here' );
}
// Check SSL Mode
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && ( $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) ) {
$_SERVER['HTTPS'] = 'on';
}
// Plugin Basename
define( 'AI1WM_PLUGIN_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
// Plugin Path
define( 'AI1WM_PATH', dirname( __FILE__ ) );
// Plugin URL
define( 'AI1WM_URL', plugins_url( '', AI1WM_PLUGIN_BASENAME ) );
// Plugin Storage URL
define( 'AI1WM_STORAGE_URL', plugins_url( 'storage', AI1WM_PLUGIN_BASENAME ) );
// Include constants
require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'constants.php';
// Include deprecated
require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'deprecated.php';
// Include functions
require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'functions.php';
// Include exceptions
require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'exceptions.php';
// Include loader
require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'loader.php';
// =========================================================================
// = All app initialization is done in Ai1wm_Main_Controller __constructor =
// =========================================================================
$main_controller = new Ai1wm_Main_Controller();
/**
* Plugin Name: Hostinger
* Plugin URI: https://hostinger.com
* Description: Hostinger WordPress plugin.
* Version: 1.9.9
* Requires at least: 5.6
* Requires PHP: 7.4
* Author: Hostinger
* License: GPL v3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Author URI: https://www.hostinger.com
* Text Domain: hostinger
* Domain Path: /languages
*
* @package Hostinger
*/
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'HOSTINGER_VERSION' ) ) {
define( 'HOSTINGER_VERSION', '1.9.9' );
}
if ( ! defined( 'HOSTINGER_ABSPATH' ) ) {
define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'HOSTINGER_PLUGIN_FILE' ) ) {
define( 'HOSTINGER_PLUGIN_FILE', __FILE__ );
}
if ( ! defined( 'HOSTINGER_PLUGIN_URL' ) ) {
define( 'HOSTINGER_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'HOSTINGER_ASSETS_URL' ) ) {
define( 'HOSTINGER_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets' );
}
if ( ! defined( 'HOSTINGER_WP_CONFIG_PATH' ) ) {
define( 'HOSTINGER_WP_CONFIG_PATH', ABSPATH . '.private/config.json' );
}
if ( ! defined( 'HOSTINGER_WP_TOKEN' ) ) {
$hostinger_dir_parts = explode( '/', __DIR__ );
$hostinger_server_root_path = '/' . $hostinger_dir_parts[1] . '/' . $hostinger_dir_parts[2];
define( 'HOSTINGER_WP_TOKEN', $hostinger_server_root_path . '/.api_token' );
}
if ( ! defined( 'HOSTINGER_REST_URI' ) ) {
define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' );
}
/**
* @return void
*/
function hostinger_activate(): void {
require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-activator.php';
Hostinger_Activator::activate();
}
/**
* @return void
*/
function hostinger_deactivate(): void {
require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-deactivator.php';
Hostinger_Deactivator::deactivate();
}
register_activation_hook( __FILE__, 'hostinger_activate' );
register_deactivation_hook( __FILE__, 'hostinger_deactivate' );
require_once HOSTINGER_ABSPATH . 'includes/class-hostinger.php';
$hostinger = new Hostinger();
$hostinger->run();{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}